<?php

use Illuminate\Database\Seeder;

class LinksTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $datas = [

            [
                'link_name' => '京东购物',

                'link_title' => '中国最正规的购物网站',

                'link_url' => 'https://www.jd.com',
                'link_order'=>1
            ],
            [
                'link_name' => '天猫购物',

                'link_title' => '中国最大的购物网站',

                'link_url' => 'https://www.tmall.com',
                'link_order'=>2
            ]

        ];

        DB::table('Links')->insert($datas);

    }
}
